package com.ruoyi.lhb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排班对象 ordertime
 *
 * @author lhb
 * @date 2022-09-27
 */
public class Ordertime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排班Id */
    private Long otid;

    /** 医护人员Id */
    @Excel(name = "医护人员Id")
    private Long bid;

    /** 监测点Id */
    @Excel(name = "监测点Id")
    private Long cpid;

    /** 监测点名称 */
    @Excel(name = "监测点名称")
    private String cpname;

    /** 排班日期 */
    @Excel(name = "排班日期")
    private String date;

    /** 排班时间段 */
    @Excel(name = "排班时间段")
    private String time;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "Ordertime{" +
                "otid=" + otid +
                ", bid=" + bid +
                ", cpid=" + cpid +
                ", cpname='" + cpname + '\'' +
                ", date='" + date + '\'' +
                ", time='" + time + '\'' +
                '}';
    }

    public String getCpname() {
        return cpname;
    }

    public void setCpname(String cpname) {
        this.cpname = cpname;
    }

    public void setOtid(Long otid)
    {
        this.otid = otid;
    }

    public Long getOtid()
    {
        return otid;
    }
    public void setBid(Long bid)
    {
        this.bid = bid;
    }

    public Long getBid()
    {
        return bid;
    }
    public void setCpid(Long cpid)
    {
        this.cpid = cpid;
    }

    public Long getCpid()
    {
        return cpid;
    }
    public void setDate(String date)
    {
        this.date = date;
    }

    public String getDate()
    {
        return date;
    }
    public void setTime(String time)
    {
        this.time = time;
    }

    public String getTime()
    {
        return time;
    }

}
